package com.base.commons.tools.page;

import java.io.Serializable;

public abstract class PageRequest implements Serializable {

    protected int pageNumber = 1;
    protected int pageSize = 20;

    public PageRequest() {
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageNumber() {
        return this.pageNumber;
    }

    public int getPageSize() {
        return this.pageSize;
    }
}
